import request from '@/utils/request';

// 获取机器人列表
export function getRobots() {
  return request({
    url: '/trade/bucket/get',
    method: 'get'
  })
}

// 回测
export function testRobot(query) {
    return request({
        url: '/trade/bucket/test',
        method: 'get',
        params: query
    })
}

export function searchBackTest(query) {
    return request({
      url: '/trade/bucket/search',
      method: 'get',
      params: query
    })
}